<?php
/**
 *
 * @user: leo
 * @date: 2021/6/30
 * @createTime: 16:33
 * @company: 迈酷网络科技 http://www.maicooit.com
 */
namespace app\admin\logic\user;

use app\BaseController;
use app\admin\model\User as UserModel;

class Auth extends  BaseController {
    //用户注册
    public static function UserRegLogic($domain,$user_name,$password){
        $user = new UserModel();
        $res = $user->UserRegModel($domain,$user_name,$password);
        return $res;
    }
    //用户登录
    public static function UserLoginLogic($domain,$user_name,$password){
        $user = new UserModel();
        $res = $user->UserLoginModel($domain,$user_name,$password);
        return $res;
    }
    //修改用户信息
    public static function UserSaveLogic($domain,$user_name,$password){

    }
}